//
//  BlueSkyAngel.m
//  GoodWayClient
//
//  Created by HuiDong on 15/12/21.
//  Copyright © 2015年 HuiDong. All rights reserved.
//

#import "BlueSkyAngel.h"

@implementation BlueSkyAngel

+(instancetype)blueSkyAngelWithDic: (NSDictionary *)dic
{
    return [[self alloc] initWithDic:dic];
}
-(instancetype)initWithDic: (NSDictionary *)dic
{
    if (self = [super init]) {
        self.angelId = (int)dic[@"id"];
        self.NickName = dic[@"NickName"];
        self.PhoneNum = dic[@"PhoneNum"];
        self.Address = dic[@"Address"];
        self.RoleKey = dic[@"RoleKey"];
    }
    return self;
}

@end
